package edu.sctu.practice.class01.zhangwang.day2015_10_22.abstruct;

/**
 * Created by Z_W on 2015/10/22.
 */
public class Teacher extends Student {
    public void f(){
        System.out.println("老师类");
    }

    public static void main(String[] args) {
        Person person = new Student();
        Person person1 = new Teacher();
        person.f();
        person1.f();
    }
}
